<? if(!defined('IN_ROOT')) exit('Access Denied'); include template('header'); ?>
<!-- main -->
<!-- qw 后面麻烦加一个高 如h400, height:400px;在firfox下面height,auto没用，-->
<div class="qw ">

<div class="mycity">您是不是在<b><?=$user['sitename']?></b>？请进入<b><a href="index.php?site/list/<?=$user['siteid']?>" style="color:#ff6501"><?=$user['sitename']?>站>></a></b></div>
<div class="hotcity">
<h3>热门城市：</h3>
    
<? if(is_array($hotsite)) { foreach($hotsite as $k => $v) { ?>
<a href="index.php?site/list/<?=$k?><?=$setting['seo_suffix']?>"><?=$v?></a>
<? } } ?>
</div>
<div class="select_city">
<form id="cityChange" method="post" action="">
    <b>按省份选择：</b>
    <select name="select2" id="select1" ><option value="">湖南省</option> </select>
    <select name="select2" id="select2" > <option value="">长沙市</option></select>

    <input type="submit" name="" value="" class="input_btn">
</form>
</div>
<div class="pinyin">
 <p><b>按拼音首字母选择：</b></p>
     <!-- 循环开始-->
     
          
<? if(is_array($py)) { foreach($py as $y) { ?>
<dl>
          <dt><?=$y?></dt><dd>
<? if(is_array($sitelist)) { foreach($sitelist as $v) { ?>
 <? if(strtoupper(trim($v['pinyin']))==$y && $v['ifopen']==1 && $v['available']==1) { ?><a href="index.php?site/list/<?=$v['id']?><?=$setting['seo_suffix']?>"><?=$v['name']?></a><? } } } ?>
</dd>
          </dl>
<? } } ?>
     
     <!-- 循环end-->
</div></div>
<!-- main  end-->
<? include template('footer'); ?>
